
const state = {
	user:{
    id:111
  }
}



const mutations = {
	setUserId(state, val) {
		state.user.id = val
    console.log(state)
	},
}

const actions =  {
	setUserId({ commit }, val) {
		commit("setUserId", val)
	},
	setShopId({ commit }, val) {
		commit("setShopId", val)
	},
    setBankLogo({ commit }, val) {
		commit("setBankLogo", val)
	}
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}